package com.liyuhan.shopping.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId
    private int uid;
    private String username;
    private String password;
    private String uimage;

    public User(String username, String password){
        this.username = username;
        this.password = password;
    }
}
